Skip to main content

OrmLiteAuthRepositoryMultitenancy<TUserAuth, TUserAuthDetails>

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class OrmLiteAuthRepositoryMultitenancy<TUserAuth, TUserAuthDetails> : OrmLiteAuthRepositoryBase<TUserAuth, TUserAuthDetails>, IUserAuthRepository, IAuthRepository, IRequiresSchema, IClearable, IManageRoles, IManageApiKeys, ICustomUserAuth, IQueryUserAuth, IUserAuthRepositoryAsync, IAuthRepositoryAsync, IClearableAsync, IManageRolesAsync, IManageApiKeysAsync, IQueryUserAuthAsync, IManageSourceRolesAsync where TUserAuth : class, IUserAuth where TUserAuthDetails : class, IUserAuthDetails

Methods

Exec(Action<IDbConnection>)

View Source
Declaration
public override void Exec(Action<IDbConnection> fn)
Parameters
TypeName
Action<IDbConnection>fn

Exec<T>(Func<IDbConnection, T>)

View Source
Declaration
public override T Exec<T>(Func<IDbConnection, T> fn)
Returns

<T>

Parameters
TypeName
Func<IDbConnection,<T>>fn
Type Parameters
  • T

EachDb(Action<IDbConnection>)

View Source
Declaration
public void EachDb(Action<IDbConnection> fn)
Parameters
TypeName
Action<IDbConnection>fn

InitSchema()

View Source
Declaration
public override void InitSchema()

DropSchema()

View Source
Declaration
public override void DropSchema()

DropAndReCreateTables()

View Source
Declaration
public override void DropAndReCreateTables()

InitApiKeySchema()

View Source
Declaration
public override void InitApiKeySchema()

DropApiKeySchema()

View Source
Declaration
public override void DropApiKeySchema()

Dispose()

View Source
Declaration
public void Dispose()

ExecAsync(Func<IDbConnection, Task>)

View Source
Declaration
public override async Task ExecAsync(Func<IDbConnection, Task> fn)
Returns

Task

Parameters
TypeName
Func<IDbConnection,Task>fn

ExecAsync<T>(Func<IDbConnection, Task<T>>)

View Source
Declaration
public override async Task<T> ExecAsync<T>(Func<IDbConnection, Task<T>> fn)
Returns

Task<<T>>

Parameters
TypeName
Func<IDbConnection,Task<<T>>>fn
Type Parameters
  • T

EachDb(Func<IDbConnection, Task>)

View Source
Declaration
public async Task EachDb(Func<IDbConnection, Task> fn)
Returns

Task

Parameters
TypeName
Func<IDbConnection,Task>fn

DisposeAsync()

View Source
Declaration
public async ValueTask DisposeAsync()
Returns

ValueTask

Implements